<template>
    <h3>表单输入绑定</h3>
    <form action="">
        <input type="text" v-model="msg">
        <p>{{msg}}</p>
        <input type="checkbox" id="checkbox" v-model="checked"/>
        <label for="checkbox">{{checked}}</label>
    </form>
</template>
<script>
    export default{
        data(){
            return{
                msg:'',
                checked :false
            }
        }
    }
</script>